import { markRaw } from 'vue'
const filesObj = {}
const files = import.meta.glob('./*.json', { eager: true })

for (const key in files) {
	const fileName = key.replace(/(\.\/|\.json)/g, '')
	const file: any = files[key]
	filesObj[fileName] = file.default
}
export default markRaw(filesObj)
